xl: Call xlu_cfg_destroy in main_cpupoolcreate
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Fri, 11 May 2012 16:34:24 +0000 (17:34 +0100)
committerGeorge Dunlap <george.dunlap@eu.citrix.com>
Fri, 11 May 2012 16:34:24 +0000 (17:34 +0100)
commit5b81bb4955500c781d90177e012404fc6177ccad
tree509f74ae74c00fdbaed4458446231c17e7ae7613
parent970e7de0e21721e3de77a44fa800c95a19bdaabc
xl: Call xlu_cfg_destroy in main_cpupoolcreate

This involves making a goto clean-up path, rather than calling
return directly.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/xl_cmdimpl.c